Skip to content

feat: add include_beta option, keep include_experimental as an alias - #197

Draft
travis-hoover-glean wants to merge 1 commit into
mainfrom
thoov/devplat-1598-include-beta
Draft

travis-hoover-glean wants to merge 1 commit into
mainfrom
thoov/devplat-1598-include-beta

Conversation

@travis-hoover-glean

Copy link
Copy Markdown
Contributor

Adds an X_GLEAN_INCLUDE_BETA env var and include_beta option, with include_experimental kept as an alias, as we're renaming experimental APIs to beta. Both still send X-Glean-Include-Experimental for now since older deployments would fail the CORS preflight on a new header.

export X_GLEAN_INCLUDE_BETA=true

Note: Glean(include_experimental=True) raises a TypeError today because a regeneration dropped the constructor args, so the env var is the only way to set this until that gets a separate fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant